#pragma once

#include "models/atom_interface/ai_window_info_fetcher.h"

class CPokeWindowPropFetcher :
    public CEdit
{
    DECLARE_DYNAMIC(CPokeWindowPropFetcher)

    // Constructors
public:
    CPokeWindowPropFetcher();
    virtual ~CPokeWindowPropFetcher();

    void ResetOption(BOOL bIsEditKey, const WindowPropKey &oPropKey, const CString &strPropValue);

protected:
    void EndFetch(BOOL bSave);

private:
    BOOL m_bIsEditKey;
    WindowPropKey m_oPropKey;
    CString m_strPropValue;

public:
    DECLARE_MESSAGE_MAP()
    afx_msg void OnKillFocus(CWnd* pNewWnd);
    afx_msg void OnKeyUp(UINT nChar, UINT nRepCnt, UINT nFlags);
    afx_msg void OnSysKeyUp(UINT nChar, UINT nRepCnt, UINT nFlags);
};